@mixin base-widget-theme($theme) {

    $background: map-get($theme, background);
    $foreground: map-get($theme, foreground);

    base-widget {

        > .base-widget-front,
        > .base-widget-back {
            background: map-get($background, card);
            border-color: map-get($foreground, divider);
        }
    }
}